package milkyway.hightech.money;

/**
 *
 * @author michael
 */
public enum Currency
{
    EUR(1),
    GBP(0.88),
    CHF(1.32),
    HKD(11.14),
    USD(1.43),
    YEN(121.77),
    AUD(1.37);

    private double factor;

    /**
     *
     * @param d
     */
    private Currency(double d)
    {
        this.factor = d;
    }

    /**
     *
     * @return
     */
    public double getFactor()
    {
        return factor;
    }

    /**
     *
     * @param factor
     */
    public void setFactor(double factor)
    {
        this.factor = factor;
    }
}


//~ Formatted by Jindent --- http://www.jindent.com
